import { createApp } from "vue";
import { createPinia } from "pinia";
import ElementPlus from "element-plus";
import { createRouters } from "./routers";
import "element-plus/dist/index.css";
import "element-plus/theme-chalk/dark/css-vars.css";
import "./styles/index.scss";
import App from "./App.vue";

createRouters((router, menus) => {
  const app = createApp(App);
  
  app.use(router);
  app.use(createPinia());
  app.use(ElementPlus);

  app.mount("#app");
});
